package cn.arnold.leetcode;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @author Arnold-Xiang
 * @Info
 */
public class TwoStringSameWords {
    public static void main(String[] args) {
        String s1 = "this apple is sweet";
        String s2 = "this apple is sour";
    }

    public static List<String> solution(String s1, String s2){
        String[] s1_arr = s1.split(" ", -1);
        String[] s2_arr = s1.split(" ", -1);
        Set<String> set = new HashSet<>();
        for (String e : s1_arr) {
            set.add(e);
        }
        
        return null;
    }
}
